<ion-view view-title="增加商品">
  <ion-content>
    <div class="card">
      <label class="item item-input">
    <span class="input-label">名称</span>
    <input type="text" ng-model="product.product_name" required>
  </label>
      <label class="item item-input">
    <span class="input-label">类别</span>
    <input type="text" ng-model="product.product_type" required>
  </label>
      <label class="item item-input">
    <span class="input-label">价格</span>
    <input type="text" ng-model="product.product_price" required>
  </label>
  <label class="item item-input">
    <span class="input-label">数量</span>
    <input type="text" ng-model="product.product_number" required>
  </label>
      <ion-item>
        <button ng-click="add_product()" class="button button-balanced button-block button-outline">增加商品</button>
      </ion-item>
    </div>
  </ion-content>
</ion-view>